home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1700.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.1 KB  |  93 lines

  1. 184
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SendMsg 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSendMsg sends a Windows message to a window.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baSendMsg( WindowHandle , Message , wParam , lParam , Wait )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. Integer, Integer, Integer, Integer, Integer. 
  36. --- RECORDSEPARATOR ---
  37. WindowHandle is the handle of the window to send the message to. 
  38. --- RECORDSEPARATOR ---
  39. Message is the message to send. 
  40. --- RECORDSEPARATOR ---
  41. wParam is additional message information. 
  42. --- RECORDSEPARATOR ---
  43. lParam is additional message information. 
  44. --- RECORDSEPARATOR ---
  45. If Wait is true, execution is paused until the window processes the message.
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. Returns:
  50. --- RECORDSEPARATOR ---
  51.  
  52. --- RECORDSEPARATOR ---
  53. Integer. 
  54. --- RECORDSEPARATOR ---
  55. If Wait is true, the return value specifies the result of the message processing and 
  56. --- RECORDSEPARATOR ---
  57. depends on the message sent. 
  58. --- RECORDSEPARATOR ---
  59. If Wait is false, returns 1 is the message was successfully posted to the window, 
  60. --- RECORDSEPARATOR ---
  61. else 0.
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Examples:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Director: 
  70. --- RECORDSEPARATOR ---
  71. set Result =  baSendMsg( 65535, 26 , 0, 0, true ) --
  72. --- RECORDSEPARATOR ---
  73.  send a WM_WININCHANGE 
  74. --- RECORDSEPARATOR ---
  75. message to all w
  76. --- RECORDSEPARATOR ---
  77. indows.
  78. --- RECORDSEPARATOR ---
  79.  
  80. --- RECORDSEPARATOR ---
  81. Authorware: 
  82. --- RECORDSEPARATOR ---
  83. Result :=  baSendMsg( 65535, 26, 0, 0, true )
  84. --- RECORDSEPARATOR ---
  85.  
  86. --- RECORDSEPARATOR ---
  87. Notes:
  88. --- RECORDSEPARATOR ---
  89.  
  90. --- RECORDSEPARATOR ---
  91. To use this function, you will need access to Windows API information about 
  92. --- RECORDSEPARATOR ---
  93. messages.